import request from '@/utils/request'

export default {

  // 根据手机号/邮箱 发送验证码
  sendCode(email) {
    return request({
      url: `/edumsm/msm/simple/${email}`,
      method: 'get'
    })
  },

  // 注册
  registerMember(formItem) {
    return request({
      url: `/educenter/member/register`,
      method: 'post',
      data: formItem
    })
  }
}